package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.entity.ApEntity;
import io.renren.param.ApHeartBeatParam;

import java.util.List;
import java.util.Map;

/**
 * 基础
 *
 * @author 1
 * @email 1@2.com
 * @date 2021-09-17 15:57:01
 */
public interface ApService extends IService<ApEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean batchSave(ApHeartBeatParam param);

    ApEntity queryByApId(String apId);

    ApEntity queryByApMac(String apMac);

    List<ApEntity> queryByUser(String user);
}

